<table width="100%" border="0" cellspacing="0" cellpadding="0" class="metallic_grid_top_table" >
  <tr>
    <td>
      <div class="metallic_grid_title">Content item images</div>
    </td>
  </tr>
  <tr>
    <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="metallic_paginator">
        <tr>
          <td width="34%"> {if $ci_images_total_pages > 1}
            <table border="0" cellspacing="0" cellpadding="2" class="metallic_pg_page_of_table">
              <tr>
                <td valign="middle">{if $ci_images_first_page}<a href="{$ci_images_first_page}" onclick="submit_ajax_grid_ci_images({$ci_images_first_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first_blue.png" alt="First page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first.png" alt="First page" border="0" />{/if}</td>
                <td valign="middle">{if $ci_images_prev_page}<a href="{$ci_images_prev_page}" onclick="submit_ajax_grid_ci_images({$ci_images_prev_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev_blue.png" alt="Previous page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev.png" alt="Previous page" border="0" />{/if}</td>
                <td class="metallic_pg_page_of" valign="middle">{if $ci_images_total_pages}Page {$ci_images_current_page} of {$ci_images_total_pages}{/if}</td>
                <td valign="middle">{if $ci_images_next_page}<a href="{$ci_images_next_page}" onclick="submit_ajax_grid_ci_images({$ci_images_next_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next_blue.png" alt="Next page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next.png" alt="Next page" border="0" />{/if}</td>
                <td valign="middle">{if $ci_images_last_page}<a href="{$ci_images_last_page}" onclick="submit_ajax_grid_ci_images({$ci_images_last_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last_blue.png" alt="Last page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last.png" alt="Last page" border="0" />{/if}</td>
              </tr>
            </table>
            {/if} </td>
          <td class="metallic_pg_jump_to_page" width="33%" align="center">{if $ci_images_records_to} Records {$ci_images_records_from}-{$ci_images_records_to} of {$ci_images_records_total}{/if}</td>
          <td class="metallic_pg_records" width="33%" align="right"> {if $ci_images_total_pages > 1}
            <table border="0" cellspacing="2" cellpadding="0">
              <tr>
                <td>Jump to page</td>
                <td>
                  <form class="metallic_pg_page_select" action="{$ci_images_jump_to_page_action}" method="get" enctype="application/x-www-form-urlencoded">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>
                          <select name="ci_images_grid_page" id="ci_images_field_page" onchange="ci_images_page_change(this.options[this.selectedIndex].value); return false;">
                            
                              
															{foreach from=$ci_images_jump_to_page_arr item=ci_images_page_num}
															
                              
                            <option value="{$ci_images_page_num}"{if $ci_images_page_num == $ci_images_current_page} selected="selected"{/if}>{$ci_images_page_num}</option>
                            
                              
															{/foreach}
														
                            
                          </select>
                          <input type="hidden" name="ci" value="{$ci_id}" />                                                      
                        </td>
                        <td>
                          <noscript>
                          &nbsp;
                          <input name="submit" type="image" src="img/modules/grid_html_tpl_static_ajax_metallic/page_go.png" alt="go" />
                          </noscript>
                        </td>
                      </tr>
                    </table>
                  </form>
                </td>
              </tr>
            </table>
            {else}
            &nbsp;
            {/if} </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="100%"  border="0" cellspacing="1" cellpadding="2" class="metallic_grid_table">
        <tbody>
        {section name=images loop=$ci_images_prows step=3}
        <tr class="metallic_grid_body">
          <td align="left" width="33%">
            <table border="0" cellpadding="4" cellspacing="0" width="100%">
              <tr>
                <td>
                  <table width="100%" border="0">
                    <tr>
                      <td width="16">
                        <table width="100%" border="0" cellspacing="0" cellpadding="2">
                        	<tr><td align="center">{$ci_images_prows[$smarty.section.images.index].cols.9}</td></tr>                        
                            <tr>
                                <td>{if $ci_images_prows[$smarty.section.images.index].cols.9 > 1}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$smarty.section.images.index].cols.8}&amp;move_to=1&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_first_blue.png" alt="" {popup text="Set as first in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_first.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$smarty.section.images.index].cols.9 > 1}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$smarty.section.images.index].cols.8}&amp;move_to={$ci_images_prows[$smarty.section.images.index].cols.9-1}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_prev_blue.png" alt="" {popup text="Set as previous in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_prev.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$smarty.section.images.index].cols.9 < $max_ordering}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$smarty.section.images.index].cols.8}&amp;move_to={$ci_images_prows[$smarty.section.images.index].cols.9+1}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_next_blue.png" alt="" {popup text="Set as next in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_next.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$smarty.section.images.index].cols.9 < $max_ordering}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$smarty.section.images.index].cols.8}&amp;move_to={$max_ordering}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_last_blue.png" alt="" {popup text="Set as last in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_last.png" alt="" />{/if}</td>
                            </tr>
                        </table>
                      </td>
                      <td align="left" width="{$t1_width}"><a href="admin/modules/tangra_cms/get_img_admin.php?imgid={$ci_images_prows[$smarty.section.images.index].cols.0}" target="_blank"><img src="admin/modules/tangra_cms/get_img_admin.php?imgid={$ci_images_prows[$smarty.section.images.index].cols.0}&amp;imgvar=t1" border="0" /></a> </td>
                      <td align="left" valign="top">
                        <table width="100%" border="0">
                          <tr>
                            <td align="left"><strong>Original name</strong>:<br />
                              {$ci_images_prows[$smarty.section.images.index].cols.1}</td>
                          </tr>
                          <tr>
                            <td><strong>ID</strong>: {$ci_images_prows[$smarty.section.images.index].cols.0}</td>
                          </tr>
                          <tr>
                            <td align="left"><strong>Size</strong>: {$ci_images_prows[$smarty.section.images.index].cols.2/1024|string_format:"%.2f"} KiB</td>
                          </tr>
                          <tr>
                            <td align="left">{$ci_images_prows[$smarty.section.images.index].cols.3} x {$ci_images_prows[$smarty.section.images.index].cols.4} px</td>
                          </tr>
                          <tr>
                            <td align="left">
								<a href="admin/modules/tangra_cms/ci/ci_images.php?remove={$ci_images_prows[$smarty.section.images.index].cols.8}&amp;ci={$ci_id}" class="action_cancel">Remove</a>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="2" style="border: 1px solid #000000;">
                        <tr>
                            <td>
                            	<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000000">
                                    <tr>
                                        <td bgcolor="#CCCCCC" width="100%">
    	                                    <strong>Alt</strong>: {if $ci_images_prows[$smarty.section.images.index].cols.10}<span {popup text="<strong>Alt's full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index].cols.10`"}>{$ci_images_prows[$smarty.section.images.index].cols.10|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}
	                                    </td>
                                    </tr>
                                    <tr>
                                    	<td bgcolor="#CCCCCC">
											<strong>Note</strong>: {if $ci_images_prows[$smarty.section.images.index].cols.11}<span {popup text="<strong>Alt's full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index].cols.11`"}>{$ci_images_prows[$smarty.section.images.index].cols.11|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}                                        
                                        </td>
                                    </tr>
								</table>
                            </td>
                            <td align="center" valign="top" width="60">
                            	<a href="admin/modules/tangra_cms/ci/ci_image_edit.php?ci_image_obj_id={$ci_images_prows[$smarty.section.images.index].cols.8}&amp;_transit_ci={$ci_images_prows[$smarty.section.images.index].cols.12}" class="action_edit">Edit</a><br />
                            </td>
                        </tr>
                    </table>
                </td>
              </tr>
              <tr>
                <td>
                    <table width="110%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><strong>Alt (global)</strong>: {if $ci_images_prows[$smarty.section.images.index].cols.7}<span {popup text="<strong>Alt full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index].cols.7`"}>{$ci_images_prows[$smarty.section.images.index].cols.7|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}</td>
                        </tr>
                        <tr>
                            <td><strong>Note (global)</strong>: {if $ci_images_prows[$smarty.section.images.index].cols.6}<span {popup text="<strong>Alt full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index].cols.6`"}>{$ci_images_prows[$smarty.section.images.index].cols.6|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}</td>
                        </tr>
                    </table>
                </td>
              </tr>
            </table>
          </td>
          <td align="left" width="33%">
            {math equation="next + 1" next=$smarty.section.images.index assign=index_next_next}                        
            {if $ci_images_prows[$index_next_next].cols.0}            
            <table border="0" cellpadding="4" cellspacing="0" width="100%">
              <tr>
                <td>
                  <table width="100%" border="0">
                    <tr>
                      <td width="16">
                        <table width="100%" border="0" cellspacing="0" cellpadding="2">
                        	<tr><td align="center">{$ci_images_prows[$index_next_next].cols.9}</td></tr>                        
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 > 1}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to=1&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_first_blue.png" alt="" {popup text="Set as first in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_first.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 > 1}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to={$ci_images_prows[$index_next_next].cols.9-1}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_prev_blue.png" alt="" {popup text="Set as previous in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_prev.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 < $max_ordering}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to={$ci_images_prows[$index_next_next].cols.9+1}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_next_blue.png" alt="" {popup text="Set as next in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_next.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 < $max_ordering}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to={$max_ordering}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_last_blue.png" alt="" {popup text="Set as last in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_last.png" alt="" />{/if}</td>
                            </tr>
                        </table>
                      </td>                    
                      <td align="left" width="{$t1_width}"><a href="admin/modules/tangra_cms/get_img_admin.php?imgid={$ci_images_prows[$index_next_next].cols.0}" target="_blank"><img src="admin/modules/tangra_cms/get_img_admin.php?imgid={$ci_images_prows[$index_next_next].cols.0}&amp;imgvar=t1" border="0" /></a> </td>
                      <td align="left" valign="top">
                        <table width="100%" border="0">
                          <tr>
                            <td align="left"><strong>Original name</strong>:<br />
                              {$ci_images_prows[$index_next_next].cols.1}</td>
                          </tr>
                          <tr>
                            <td><strong>ID</strong>: {$ci_images_prows[$index_next_next].cols.0}</td>
                          </tr>
                          <tr>
                            <td align="left"><strong>Size</strong>: {$ci_images_prows[$index_next_next].cols.2/1024|string_format:"%.2f"} KiB</td>
                          </tr>
                          <tr>
                            <td align="left">{$ci_images_prows[$index_next_next].cols.3} x {$ci_images_prows[$index_next_next].cols.4} px</td>
                          </tr>
                          <tr>
                            <td align="left">
<a href="admin/modules/tangra_cms/ci/ci_images.php?remove={$ci_images_prows[$index_next_next].cols.8}&amp;ci={$ci_id}" class="action_cancel">Remove</a>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="2" style="border: 1px solid #000000;">
                        <tr>
                            <td>
                            	<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000000">
                                    <tr>
                                        <td bgcolor="#CCCCCC" width="100%">
    	                                    <strong>Alt</strong>: {if $ci_images_prows[$index_next_next].cols.10}<span {popup text="<strong>Alt's full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index_next_next].cols.10`"}>{$ci_images_prows[$index_next_next].cols.10|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}
	                                    </td>
                                    </tr>
                                    <tr>
                                    	<td bgcolor="#CCCCCC">
											<strong>Note</strong>: {if $ci_images_prows[$index_next_next].cols.11}<span {popup text="<strong>Alt's full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index_next_next].cols.11`"}>{$ci_images_prows[$index_next_next].cols.11|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}                                        
                                        </td>
                                    </tr>
								</table>
                            </td>
                            <td align="center" valign="top" width="60">
                            	<a href="admin/modules/tangra_cms/ci/ci_image_edit.php?ci_image_obj_id={$ci_images_prows[$index_next_next].cols.8}&amp;_transit_ci={$ci_images_prows[$index_next_next].cols.12}" class="action_edit">Edit</a><br />
                            </td>
                        </tr>
                    </table>
                </td>
              </tr>
              <tr>
                <td>
                    <table width="110%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><strong>Alt (global)</strong>: {if $ci_images_prows[$index_next_next].cols.7}<span {popup text="<strong>Alt full text</strong>:<br>`$ci_images_prows[$index_next_next].cols.7`"}>{$ci_images_prows[$index_next_next].cols.7|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}</td>
                        </tr>
                        <tr>
                            <td><strong>Note (global)</strong>: {if $ci_images_prows[$index_next_next].cols.6}<span {popup text="<strong>Alt full text</strong>:<br>`$ci_images_prows[$index_next_next].cols.6`"}>{$ci_images_prows[$index_next_next].cols.6|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}</td>
                        </tr>
                    </table>
                </td>
              </tr>
            </table>
          {else}
          &nbsp;
          {/if}
          </td>
          <td align="left" width="33%">
	       {math equation="next + 2" next=$smarty.section.images.index assign=index_next_next}          
            {if $ci_images_prows[$index_next_next].cols.0}                       
            <table border="0" cellpadding="4" cellspacing="0" width="100%">
              <tr>
                <td>
                  <table width="100%" border="0">
                    <tr>
                      <td width="16">
                        <table width="100%" border="0" cellspacing="0" cellpadding="2">
                        	<tr><td align="center">{$ci_images_prows[$index_next_next].cols.9}</td></tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 > 1}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to=1&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_first_blue.png" alt="" {popup text="Set as first in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_first.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 > 1}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to={$ci_images_prows[$index_next_next].cols.9-1}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_prev_blue.png" alt="" {popup text="Set as previous in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_prev.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 < $max_ordering}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to={$ci_images_prows[$index_next_next].cols.9+1}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_next_blue.png" alt="" {popup text="Set as next in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_next.png" alt="" />{/if}</td>
                            </tr>
                            <tr>
                                <td>{if $ci_images_prows[$index_next_next].cols.9 < $max_ordering}<a href="admin/modules/tangra_cms/ci/ci_images.php?move={$ci_images_prows[$index_next_next].cols.8}&amp;move_to={$max_ordering}&amp;ci={$ci_id}"><img src="img/modules/tangra_cms/order_last_blue.png" alt="" {popup text="Set as last in ordering"} border="0" /></a>{else}<img src="img/modules/tangra_cms/order_last.png" alt="" />{/if}</td>
                            </tr>
                        </table>
                      </td>                    
                      <td align="left" width="{$t1_width}"><a href="admin/modules/tangra_cms/get_img_admin.php?imgid={$ci_images_prows[$index_next_next].cols.0}" target="_blank"><img src="admin/modules/tangra_cms/get_img_admin.php?imgid={$ci_images_prows[$index_next_next].cols.0}&amp;imgvar=t1" border="0" /></a> </td>
                      <td align="left" valign="top">
                        <table width="100%" border="0">
                          <tr>
                            <td align="left"><strong>Original name</strong>:<br />
                              {$ci_images_prows[$index_next_next].cols.1}</td>
                          </tr>
                          <tr>
                            <td><strong>ID</strong>: {$ci_images_prows[$index_next_next].cols.0}</td>
                          </tr>
                          <tr>
                            <td align="left"><strong>Size</strong>: {$ci_images_prows[$index_next_next].cols.2/1024|string_format:"%.2f"} KiB</td>
                          </tr>
                          <tr>
                            <td align="left">{$ci_images_prows[$index_next_next].cols.3} x {$ci_images_prows[$index_next_next].cols.4} px</td>
                          </tr>
                          <tr>
                            <td align="left">
<a href="admin/modules/tangra_cms/ci/ci_images.php?remove={$ci_images_prows[$index_next_next].cols.8}&amp;ci={$ci_id}" class="action_cancel">Remove</a>                            
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="2" style="border: 1px solid #000000;">
                        <tr>
                            <td>
                            	<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000000">
                                    <tr>
                                        <td bgcolor="#CCCCCC" width="100%">
    	                                    <strong>Alt</strong>: {if $ci_images_prows[$index_next_next].cols.10}<span {popup text="<strong>Alt's full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index_next_next].cols.10`"}>{$ci_images_prows[$index_next_next].cols.10|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}
	                                    </td>
                                    </tr>
                                    <tr>
                                    	<td bgcolor="#CCCCCC">
											<strong>Note</strong>: {if $ci_images_prows[$index_next_next].cols.11}<span {popup text="<strong>Alt's full text</strong>:<br>`$ci_images_prows[$smarty.section.images.index_next_next].cols.11`"}>{$ci_images_prows[$index_next_next].cols.11|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}                                        
                                        </td>
                                    </tr>
								</table>
                            </td>
                            <td align="center" valign="top" width="60">
                            	<a href="admin/modules/tangra_cms/ci/ci_image_edit.php?ci_image_obj_id={$ci_images_prows[$index_next_next].cols.8}&amp;_transit_ci={$ci_images_prows[$index_next_next].cols.12}" class="action_edit">Edit</a><br />
                            </td>
                        </tr>
                    </table>
                </td>
              </tr>
              <tr>
                <td>
                    <table width="110%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><strong>Alt (global)</strong>: {if $ci_images_prows[$index_next_next].cols.7}<span {popup text="<strong>Alt full text</strong>:<br>`$ci_images_prows[$index_next_next].cols.7`"}>{$ci_images_prows[$index_next_next].cols.7|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}</td>
                        </tr>
                        <tr>
                            <td><strong>Note (global)</strong>: {if $ci_images_prows[$index_next_next].cols.6}<span {popup text="<strong>Alt full text</strong>:<br>`$ci_images_prows[$index_next_next].cols.6`"}>{$ci_images_prows[$index_next_next].cols.6|truncate:60:"...":true}</span>{else}<span class="no_value">None</span>{/if}</td>
                        </tr>
                    </table>
                </td>
              </tr>
            </table>
          {else}
          &nbsp;
          {/if}
          </td>
        </tr>
        {sectionelse}
        <tr>
        	<td class="metallic_grid_body">No images</td>
        </tr>
        {/section}
        </tbody>
        
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="metallic_paginator">
        <tr>
          <td width="34%"> {if $ci_images_total_pages > 1}
            <table border="0" cellspacing="0" cellpadding="2" class="metallic_pg_page_of_table">
              <tr>
                <td valign="middle">{if $ci_images_first_page}<a href="{$ci_images_first_page}" onclick="submit_ajax_grid_ci_images({$ci_images_first_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first_blue.png" alt="First page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_first.png" alt="First page" border="0" />{/if}</td>
                <td valign="middle">{if $ci_images_prev_page}<a href="{$ci_images_prev_page}" onclick="submit_ajax_grid_ci_images({$ci_images_prev_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev_blue.png" alt="Previous page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_prev.png" alt="Previous page" border="0" />{/if}</td>
                <td class="metallic_pg_page_of" valign="middle">{if $ci_images_total_pages}Page {$ci_images_current_page} of {$ci_images_total_pages}{/if}</td>
                <td valign="middle">{if $ci_images_next_page}<a href="{$ci_images_next_page}" onclick="submit_ajax_grid_ci_images({$ci_images_next_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next_blue.png" alt="Next page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_next.png" alt="Next page" border="0" />{/if}</td>
                <td valign="middle">{if $ci_images_last_page}<a href="{$ci_images_last_page}" onclick="submit_ajax_grid_ci_images({$ci_images_last_page_num}); return false;"><img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last_blue.png" alt="Last page" border="0" /></a>{else}<img src="img/modules/grid_html_tpl_static_ajax_metallic/page_last.png" alt="Last page" border="0" />{/if}</td>
              </tr>
            </table>
            {/if} </td>
          <td class="metallic_pg_jump_to_page" width="33%" align="center">{if $ci_images_records_to} Records {$ci_images_records_from}-{$ci_images_records_to} of {$ci_images_records_total}{/if}</td>
          <td class="metallic_pg_records" width="33%" align="right"> {if $ci_images_total_pages > 1}
            <table border="0" cellspacing="2" cellpadding="0">
              <tr>
                <td>Jump to page</td>
                <td>
                  <form action="{$ci_images_jump_to_page_action}" method="get" enctype="application/x-www-form-urlencoded">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>
                          <select name="ci_images_grid_page" id="ci_images_field_page" onchange="ci_images_page_change(this.options[this.selectedIndex].value); return false;">
                            
                              
															{foreach from=$ci_images_jump_to_page_arr item=ci_images_page_num}
															
                              
                            <option value="{$ci_images_page_num}"{if $ci_images_page_num == $ci_images_current_page} selected="selected"{/if}>{$ci_images_page_num}</option>
                            
                              
															{/foreach}
														
                            
                          </select>
                          <input type="hidden" name="ci" value="{$ci_id}" />                                                      
                        </td>
                        <td>
                          <noscript>
                          &nbsp;
                          <input name="submit" type="image" src="img/modules/grid_html_tpl_static_ajax_metallic/page_go.png" alt="go" />
                          </noscript>
                        </td>
                      </tr>
                    </table>
                  </form>
                </td>
              </tr>
            </table>
            {else}
            &nbsp;
            {/if} </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

